home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / utilities / gmdev300.lha / Include / clib / vmem_protos.h < prev   
Encoding:
C/C++ Source or Header  |  1992-03-06  |  904 b   |  30 lines

  1. #ifndef  CLIB_VMEM_PROTOS_H
  2. #define  CLIB_VMEM_PROTOS_H
  3. /*
  4. **    $Filename: clib/vmem_protos.h $
  5. **    $Release: 0.9 Includes, V0.9 $
  6. **    $Revision: 0.9 $
  7. **    $Date: 92/03/05 $
  8. **
  9. **    C prototypes. For use with 32 bit integers only.
  10. **
  11. **    (C) Copyright 1992 Ch. Schneider, Relog AG
  12. **        All Rights Reserved
  13. */
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  LIBRARIES_VMEM_H
  18. #include <libraries/vmem.h>
  19. #endif
  20. /*--- functions in V0.9 or higher ---*/
  21.  
  22. APTR VMAllocMem( unsigned long byteSize, unsigned long requirements, unsigned long flags );
  23. void VMFreeMem( APTR memoryBlock, unsigned long byteSize );
  24. ULONG VMAvailMem( unsigned long requirements, unsigned long flags );
  25. BOOL VMTypeOfMem( APTR address );
  26. ULONG VMGetPageSize( void );
  27. APTR VMAllocVec( unsigned long byteSize, unsigned long requirements, unsigned long flags );
  28. void VMFreeVec( APTR memoryBlock );
  29. #endif     /* CLIB_VMEML_PROTOS_H */
  30.